#include "WorldObject.h"

#include "Ground.h"
#include "Model3D.h"
#include "ObjParser.h"

int WorldObject::m_id_cnt = 0;


WorldObject::WorldObject()
  : m_position(0.0, 0.0, 0.0)
  {

  }

TVector3 WorldObject::GetPosition() const
  {
  return m_position;
  }

std::string WorldObject::GetType() const
  {
  return m_type;
  }

std::string WorldObject::GetName() const
  {
  return m_name;
  }

void WorldObject::SetPosition(double i_coord_x, double i_coord_y, double i_coord_z)
  {
  m_position = TVector3(i_coord_x, i_coord_y, i_coord_z);
  }

void WorldObject::SetPosition(const TVector3& i_position)
  {
  m_position = i_position;
  }

double WorldObject::GetAngleAroundY() const 
  {
  return 0.0;
  }

